package com.efamily.ewallet.client;

import com.extjs.gxt.ui.client.GXT;
import com.extjs.gxt.ui.client.util.Theme;
import com.extjs.gxt.ui.client.widget.Viewport;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class EWallet implements EntryPoint {

	public void onModuleLoad() {
		GXT.setDefaultTheme(Theme.GRAY, true);
		GXT.hideLoadingPanel("loading");
		final Viewport viewport = new Viewport();
		viewport.setLayout(new FitLayout());
		viewport.add(new MainWidget());
		RootPanel.get().add(viewport);
	}

}
